package com.axc.system.dao;

import com.axc.system.domain.CommonreportstatisticsDO;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * ${comments}
 * @author admin
 * @email yfq900108@163.COM
 * @date 2018-12-25 21:05:55
 */
@Mapper
public interface CommonreportstatisticsDao {

	CommonreportstatisticsDO get(String sid);
	
	List<CommonreportstatisticsDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);
	
	int save(CommonreportstatisticsDO commonreportstatistics);
	
	int update(CommonreportstatisticsDO commonreportstatistics);
	
	int remove(String SID);
	
	int batchRemove(String[] sids);
	
	// LayUi 分页查询
	List<CommonreportstatisticsDO> PageLayUi_List_By_Query(CommonreportstatisticsDO query);
	// 根据query，查询条数
	int total(CommonreportstatisticsDO query);
	
	// 根据query ，查询并返回一条记录
	CommonreportstatisticsDO Get_Model_By_Query(CommonreportstatisticsDO query);
	
	
	List<LinkedHashMap<String, Object>>   listReport(Map<String, Object> query);
}
